-- GENERATED SPELL FOR [Hawk Spirit] --


function spell0_23134(pUnit, Event) --@Protection of the Hawk,Self--
pUnit:FullCastSpellOnTarget(40237,pUnit)
pUnit:RegisterEvent('Sorts_23134', 6272, 1)
end

function Sorts_23134(pUnit, Event)
local choix_sorts_23134 = math.random(0, 0)
if choix_sorts_23134 == 0 then
pUnit:RegisterEvent('spell0_23134', 1, 1)
end
end

function mob23134_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23134', math.random(1500, 3000), 1)
end

function mob23134_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23134_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23134_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23134, 1, 'mob23134_Action')
RegisterUnitEvent(23134, 2, 'mob23134_Leave')
RegisterUnitEvent(23134, 3, 'mob23134_Kill')
RegisterUnitEvent(23134, 4, 'mob23134_Die')
